package cn.com.cifi.mars.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 门户待办任务表
 * </p>
 *
 * @author plx
 * @since 2020-01-10
 */
@TableName("t_portal_todo_task")
public class PortalTodoTask implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 任务id
     */
    @TableId(value = "task_id", type = IdType.INPUT)
    private String taskId;
    
    /**
     * 待办id
     */
    private String instanceId;

    public String getInstanceId() {
		return instanceId;
	}

	public void setInstanceId(String instanceId) {
		this.instanceId = instanceId;
	}

	/**
     *  任务类型，待办列表中显示在主题前面的中括号中，
表示提醒审批人待审批的是什么。如“转交”，“驳回”，“合同审批”等，最多用四个字来总结。 
     */
    private String todoType;

    /**
     * 任务执行人/审批人的账号，为AD账号，即邮箱的前缀。
     */
    private String taskApproveId;

    /**
     * 任务执行人/审批人的姓名
     */
    private String taskApproveName;

    /**
     * 待办事项手机端地址
     */
    private String mobileTaskUrl;

    /**
     * 待办事项PC端地址
     */
    private String pcTaskUrl;

    /**
     * 任务开始时间(时间标准yyyy-MM-dd HH:mm:ss)24小时制
     */
    private LocalDateTime taskArriveDate;

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }
    public String getTodoType() {
        return todoType;
    }

    public void setTodoType(String todoType) {
        this.todoType = todoType;
    }
    public String getTaskApproveId() {
        return taskApproveId;
    }

    public void setTaskApproveId(String taskApproveId) {
        this.taskApproveId = taskApproveId;
    }
    public String getTaskApproveName() {
        return taskApproveName;
    }

    public void setTaskApproveName(String taskApproveName) {
        this.taskApproveName = taskApproveName;
    }
    public String getMobileTaskUrl() {
        return mobileTaskUrl;
    }

    public void setMobileTaskUrl(String mobileTaskUrl) {
        this.mobileTaskUrl = mobileTaskUrl;
    }
    public String getPcTaskUrl() {
        return pcTaskUrl;
    }

    public void setPcTaskUrl(String pcTaskUrl) {
        this.pcTaskUrl = pcTaskUrl;
    }
    public LocalDateTime getTaskArriveDate() {
        return taskArriveDate;
    }

    public void setTaskArriveDate(LocalDateTime taskArriveDate) {
        this.taskArriveDate = taskArriveDate;
    }

    @Override
    public String toString() {
        return "DoorTodoTask{" +
        "taskId=" + taskId +
        ", todoType=" + todoType +
        ", taskApproveId=" + taskApproveId +
        ", taskApproveName=" + taskApproveName +
        ", mobileTaskUrl=" + mobileTaskUrl +
        ", pcTaskUrl=" + pcTaskUrl +
        ", taskArriveDate=" + taskArriveDate +
        "}";
    }
}
